
#ifndef _HEAP4_H_
#define _HEAP4_H_

#ifdef __cplusplus
extern "C"
{
#endif
#include <stdlib.h>
    // #include "IncludeAll.h"

#define configTOTAL_HEAP_SIZE (4 * 1024)
#define portBYTE_ALIGNMENT (8)
#define portBYTE_ALIGNMENT_MASK (0x0007)
#define heapMINIMUM_BLOCK_SIZE ((size_t)(xHeapStructSize << 1))

    void vPortFree(void *pv);
    void *pvPortMalloc(size_t xWantedSize);

    size_t xPortGetFreeHeapSize(void);
    size_t xPortGetMinimumEverFreeHeapSize(void);

#ifdef __cplusplus
}
#endif

#endif /* endif */
